<?php

/**
 * KTDFicheComment form.
 *
 * @package    s-test
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class KTDFicheCommentForm extends BaseKTDFicheCommentForm
{
  public function configure()
  {
        $this->setWidgets(array(
            'body'  => new sfWidgetFormTextarea(array("label"=> "Commentaire"))
        ));
        $this->setValidators(array(
            'body'  => new sfValidatorString(array("required"   =>  true))
        ));
        $this->widgetSchema->setNameFormat("ktd_fiche_comment[%s]");
  }
}
